//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.config.util;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

public class ExtendJsonConvert {
    protected static Map<String, String> syscode = new HashMap();

    public ExtendJsonConvert() {
    }

    private static String dealSyscode(String field, int flag) {
        String change = field;
        Iterator it = syscode.keySet().iterator();

        while(it.hasNext()) {
            String key = String.valueOf(it.next());
            String value = String.valueOf(syscode.get(key));
            if (flag == 1) {
                change = field.replaceAll(key, value);
            } else if (flag == 2) {
                change = field.replaceAll(value, key);
            }
        }

        return change;
    }

    static {
        syscode.put("class", "clazz");
    }
}
